pp108 : Positioning Controls

Positioning Controls

This topic describes the procedure to position controls in an XForm.

On adding a control to an XForm or a composite control, it is automatically positioned according to the layout specified for the parent control. It is possible to modify the control such that you can position it independent of the parent control's layout.

  1. Open the XFormin the XForms Designer.
  2. Right-click the control and select an option from the Position sub-menu. Alternately, select a control, click and select an option from the Position drop-down list.
    • Select Inherit to apply the layout defined for the parent control or XForm. If the control is dragged to another parent control, it inherits the layout from the new parent control and is repositioned automatically.
    • Select Vertical to position the control vertically in the parent control or XForm.
    • Select Horizontal to position the control horizontally in the parent control or XForm.
    • Select Free to freely position the control in the parent control or XForm.

      Note:
      In case of Vertical, Horizontal, or Free, the specified position overrides the layout that applies to the control.

The control is repositioned according to the selected position.

Note:

  • Specific features are available for each layout option of an XForm. After modifying the position of a control, it is possible to use the functionality specific to the position independent of the parent control's layout.
  • When you modify the layout of an XForm or composite control, the layout overrides the position settings of the constituent controls.


Related tasks

Resizing Controls
Positioning Labels
Specifying Layouts

Related reference

Layouts
Positions